# -*- coding:utf-8 -*-
class Solution:
    def reOrderArray(self, array):
        new_array= list()
        for i in array:
            if i % 2 == 1:
                new_array.append(i)
        for i in array:
            if i % 2 == 0:
                new_array.append(i)
        return new_array
        # write code here